//
//  UITableView+SeperatorLine.m
//  meets-ios
//
//  Created by Mark on 16/1/7.
//  Copyright © 2016年 meets. All rights reserved.
//

#import "UITableView+SeperatorLine.h"

@implementation UITableView (SeperatorLine)

- (void)makeSeperatorInsetZero {
    if ([self respondsToSelector:@selector(setSeparatorInset:)]) {
        [self setSeparatorInset:UIEdgeInsetsZero];
    }
    if ([self respondsToSelector:@selector(setLayoutMargins:)]) {
        [self setLayoutMargins:UIEdgeInsetsZero];
    }
}

- (void)makeSeperatorInset:(UIEdgeInsets)inset {
    if ([self respondsToSelector:@selector(setSeparatorInset:)]) {
        [self setSeparatorInset:inset];
    }
    if ([self respondsToSelector:@selector(setLayoutMargins:)]) {
        [self setLayoutMargins:inset];
    }
}

@end
